<%
//主页
layout("/inc/layout.html",{
title:'智慧洛龙',
keywords:'智慧洛龙',
description:'智慧洛龙',
style:'index.css'
}){
%>
<!-- <section class="mt15 hidden-xs">
    <img src="/static/images/banner.jpg" width="100%" alt="">
</section> -->

<section class="mt15 hidden-xs">
   <div id="myCarousel" class="carousel slide">
    <!-- 轮播（Carousel）指标 -->
    <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" 
            class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>   
    <!-- 轮播（Carousel）项目 -->
    <div class="carousel-inner">
        <div class="item active">
            <img src="/static/images/banner.jpg" alt="First slide">
        </div>
        <div class="item">
            <img src="/static/images/banner.jpg" alt="Second slide">
        </div>
        <div class="item">
            <img src="/static/images/banner.jpg" alt="Third slide">
        </div>
    </div>
    <!-- 轮播（Carousel）导航 -->
        <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
            <span class="sr-only">Next</span>
        </a>
</div> 
</section>


<section class="container">
    <div class="row">
            <div class="panel panel-info">
                <div class="panel-heading text-left">
                    <b>今日关注</b> <span class="pull-right"></span>
                </div>
                           <div class="panel-body">
                <!--项目状态-->
                <h2 align="center"><b>${news.title!}</b></h2>
                <div align="center" class="text-muted">${news.createTime,'yyyy-MM-dd HH:mm:ss'}</div>
                <hr/>
                <div align="center">
                    <div class="alert alert-info">
                                                                 导读：  ${news.description!}
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-8">
                             <img class="img-thumbnail" src="${uploaderFilesDomain!}${news.cover!'static/images/nopic.jpg'}" alt="主图" />
                        </div>
                    </div>
                     <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-8">
                               <p class="font18">${news.content!}</p>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-8">
                            <a href="/" class="btn btn-success btn-lg btn-block">&nbsp;返回首页&nbsp;</a>
                        </div>
                    </div>
             </div>
             
            </div>
            </div>
    </div>
</section>
<% } %>
<script>
    require(['modules/index'], function (index) {
        index.init();
    });

</script>
</body>
</html>